package com.violet.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.violet.sharding.domain.AlarmDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
* @Author: wqf
* @Date: 2023/01/06
* @Description:
*/
@Mapper
public interface AlarmMapper extends BaseMapper<AlarmDomain> {
    /**
     * 方法描述:
     *
     * @param startTime
     * @param endTime
     * @return com.violet.sharding.domain.AlarmDomain
     * @author wqf
     * @date 2023/1/10 14:16
     */
    AlarmDomain selectOne(@Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}